package com.shelpe.services.sinbadgateway.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.shelpe.services.sinbadgateway.dto.UserSchedulerDto;


@FeignClient(name="${feign.simbascheduler.serviceID}", url="${feign.simbascheduler.url}")
@RequestMapping(value = "/simbascheduler")
public interface SyncSchedulerClient {
	
	@RequestMapping(method = RequestMethod.GET, value = "/tenants/{user_id}")
	public UserSchedulerDto syncUserJob(@PathVariable("user_id") long userId);
}
